// @ts-strict-ignore
import {
  AttributeInputTypeEnum,
  AttributeTypeEnum,
  ProductTypeDetailsQuery,
  ProductTypeKindEnum,
  ProductTypeListQuery,
  ProductTypeQuery,
  SearchProductTypesQuery,
  WeightUnitsEnum,
} from "@dashboard/graphql";
import { RelayToFlat } from "@dashboard/types";

export const attributes: ProductTypeQuery["productType"]["productAttributes"] = [
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo5",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Author",
      slug: "author",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",
              name: "John Doe",
              reference: null,
              slug: "john-doe",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",
              name: "Milionare Pirate",
              reference: null,
              slug: "milionare-pirate",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo2",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Box Size",
      slug: "box-size",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE1",
              name: "100g",
              reference: null,
              slug: "100g",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE2",
              name: "250g",
              reference: null,
              slug: "250g",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE3",
              name: "500g",
              reference: null,
              slug: "500g",
              sortOrder: 2,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE4",
              name: "1kg",
              reference: null,
              slug: "1kg",
              sortOrder: 3,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZToz",
      type: AttributeTypeEnum.PRODUCT_TYPE,
      inputType: AttributeInputTypeEnum.DROPDOWN,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Brand",
      slug: "brand",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjY=",
              name: "Saleor",
              reference: null,
              slug: "saleor",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo4",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Candy Box Size",
      slug: "candy-box-size",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIx",
              name: "100g",
              reference: null,
              slug: "100g",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIy",
              name: "250g",
              reference: null,
              slug: "250g",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIz",
              name: "500g",
              reference: null,
              slug: "500g",
              sortOrder: 2,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo1",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Coffee Genre",
      slug: "coffee-genre",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEz",
              name: "Arabica",
              reference: null,
              slug: "arabica",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE0",
              name: "Robusta",
              reference: null,
              slug: "robusta",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      availableInGrid: false,
      storefrontSearchPosition: 0,
      metadata: [],
      privateMetadata: [],
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZToy",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: false,
      filterableInDashboard: false,
      filterableInStorefront: false,
      name: "Collar",
      slug: "collar",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM=",
              name: "Round",
              reference: null,
              slug: "round",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjQ=",
              name: "V-Neck",
              reference: null,
              slug: "v-neck",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjU=",
              name: "Polo",
              reference: null,
              slug: "polo",
              sortOrder: 2,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTox",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Color",
      slug: "color",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE=",
              name: "Blue",
              reference: null,
              slug: "blue",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI=",
              name: "White",
              reference: null,
              slug: "white",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZToxMg==",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Cover",
      slug: "cover",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMw",
              name: "Soft",
              reference: null,
              slug: "soft",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMx",
              name: "Hard",
              reference: null,
              slug: "hard",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMy",
              name: "Middle soft",
              reference: null,
              slug: "middle-soft",
              sortOrder: 2,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjMz",
              name: "Middle hard",
              reference: null,
              slug: "middle-hard",
              sortOrder: 3,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM0",
              name: "Middle",
              reference: null,
              slug: "middle",
              sortOrder: 4,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjM1",
              name: "Very hard",
              reference: null,
              slug: "very-hard",
              sortOrder: 5,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo3",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Flavor",
      slug: "flavor",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjE5",
              name: "Sour",
              reference: null,
              slug: "sour",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjIw",
              name: "Sweet",
              reference: null,
              slug: "sweet",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Language",
      slug: "language",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI4",
              name: "English",
              reference: null,
              slug: "english",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI5",
              name: "Pirate",
              reference: null,
              slug: "pirate",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Publisher",
      slug: "publisher",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI2",
              name: "Mirumee Press",
              reference: null,
              slug: "mirumee-press",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI3",
              name: "Saleor Publishing",
              reference: null,
              slug: "saleor-publishing",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
  {
    node: {
      __typename: "Attribute" as const,
      entityType: null,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo0",
      inputType: AttributeInputTypeEnum.DROPDOWN,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      name: "Size",
      slug: "size",
      valueRequired: true,
      unit: null,
      referenceTypes: [],
      choices: {
        __typename: "AttributeValueCountableConnection" as const,
        pageInfo: {
          endCursor: "WyI4IiwgIjMiXQ==",
          hasNextPage: false,
          hasPreviousPage: false,
          startCursor: "WyIwIiwgIjQ5Il0=",
          __typename: "PageInfo" as const,
        },
        edges: [
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjc=",
              name: "XS",
              reference: null,
              slug: "xs",
              sortOrder: 0,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjg=",
              name: "S",
              reference: null,
              slug: "s",
              sortOrder: 1,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjk=",
              name: "M",
              reference: null,
              slug: "m",
              sortOrder: 2,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEw",
              name: "L",
              reference: null,
              slug: "l",
              sortOrder: 3,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEx",
              name: "XL",
              reference: null,
              slug: "xl",
              sortOrder: 4,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
          {
            __typename: "AttributeValueCountableEdge" as const,
            cursor: "",
            node: {
              __typename: "AttributeValue" as const,
              file: null,
              id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjEy",
              name: "XXL",
              reference: null,
              slug: "xxl",
              sortOrder: 5,
              type: "STRING",
              value: "",
              plainText: null,
              richText: null,
              boolean: null,
              date: null,
              dateTime: null,
            },
          },
        ],
      },
    },
  },
].map(edge => ({
  ...edge.node,
  availableInGrid: edge.node.availableInGrid ?? false,
  storefrontSearchPosition: edge.node.storefrontSearchPosition ?? 0,
  metadata: edge.node.metadata ?? [],
  privateMetadata: edge.node.privateMetadata ?? [],
  visibleInStorefront: edge.node.visibleInStorefront ?? false,
  filterableInDashboard: edge.node.filterableInDashboard ?? false,
  filterableInStorefront: edge.node.filterableInStorefront ?? false,
}));

export const productTypeSearch: ProductTypeQuery["productType"] = {
  __typename: "ProductType" as const,
  hasVariants: true,
  id: "UHJvZHVjdFR5cGU6NA==",
  name: "Candy",
  productAttributes: [attributes[0]],
  taxClass: {
    __typename: "TaxClass" as const,
    name: "PB100000",
    id: "Books / Manuals",
  },
};

export const productTypes: Array<
  RelayToFlat<SearchProductTypesQuery["search"]>[0] &
    ProductTypeListQuery["productTypes"]["edges"][0]["node"]
> = [
  {
    __typename: "ProductType" as const,
    hasVariants: true,
    id: "UHJvZHVjdFR5cGU6NA==",
    isShippingRequired: true,
    name: "Candy",
    slug: "candy",
    kind: ProductTypeKindEnum.NORMAL,
    productAttributes: [attributes[0]],
    taxClass: {
      __typename: "TaxClass" as const,
      name: "Shipping method",
      id: "VGV4Q2xhc3M6MQ==",
    },
    variantAttributes: [attributes[1], attributes[2]],
  },
  {
    __typename: "ProductType" as const,
    hasVariants: false,
    id: "UHJvZHVjdFR5cGU6NQ==",
    isShippingRequired: false,
    name: "E-books",
    slug: "e-books",
    kind: ProductTypeKindEnum.NORMAL,
    productAttributes: [attributes[5]],
    taxClass: {
      __typename: "TaxClass" as const,
      name: "Digital goods",
      id: "VGV4Q4xhc3M6MQ==",
    },
    variantAttributes: [attributes[0], attributes[3]],
  },
  {
    __typename: "ProductType" as const,
    hasVariants: false,
    id: "UHJvZHVjdFR5cGU6Mg==",
    isShippingRequired: true,
    name: "Mugs",
    slug: "mugs",
    kind: ProductTypeKindEnum.NORMAL,
    productAttributes: [attributes[7]],
    taxClass: {
      __typename: "TaxClass" as const,
      name: "Houseware",
      id: "VGV4Q3xhc3M6MQ==",
    },
    variantAttributes: [attributes[2], attributes[5]],
  },
  {
    __typename: "ProductType" as const,
    hasVariants: true,
    id: "UHJvZHVjdFR5cGU6Mw==",
    isShippingRequired: true,
    name: "Coffee",
    slug: "coffee",
    kind: ProductTypeKindEnum.NORMAL,
    productAttributes: [attributes[8]],
    taxClass: {
      __typename: "TaxClass" as const,
      name: "PB100000",
      id: "Books / Manuals",
    },
    variantAttributes: [attributes[1], attributes[4]],
  },
  {
    __typename: "ProductType" as const,
    hasVariants: true,
    id: "UHJvZHVjdFR5cGU6MQ==",
    isShippingRequired: true,
    name: "T-Shirt",
    slug: "t-shirt",
    kind: ProductTypeKindEnum.NORMAL,
    productAttributes: [attributes[4]],
    taxClass: {
      __typename: "TaxClass" as const,
      name: "PH403970",
      id: "Wheelchair",
    },
    variantAttributes: [attributes[1], attributes[6]],
  },
].map(productType => ({
  __typename: "ProductType" as const,
  ...productType,
}));

export const productType: ProductTypeDetailsQuery["productType"] = {
  __typename: "ProductType" as const,
  hasVariants: false,
  id: "UHJvZHVjdFR5cGU6NQ==",
  isShippingRequired: false,
  metadata: [
    {
      __typename: "MetadataItem",
      key: "integration.id",
      value: "100023123",
    },
  ],
  name: "E-books",
  slug: "e-books",
  kind: ProductTypeKindEnum.NORMAL,
  privateMetadata: [],
  productAttributes: [
    {
      __typename: "Attribute" as const,
      filterableInDashboard: true,
      filterableInStorefront: false,
      id: "UHJvZHVjdEF0dHJpYnV0ZTo5",
      name: "Author",
      slug: "author",
      type: AttributeTypeEnum.PRODUCT_TYPE,
      inputType: AttributeInputTypeEnum.DROPDOWN,
      visibleInStorefront: true,
      unit: null,
    },
    {
      __typename: "Attribute" as const,
      filterableInDashboard: true,
      filterableInStorefront: false,
      id: "UHJvZHVjdEF0dHJpYnV0ZToxMQ==",
      name: "Language",
      slug: "language",
      type: AttributeTypeEnum.PRODUCT_TYPE,
      inputType: AttributeInputTypeEnum.DROPDOWN,
      visibleInStorefront: true,
      unit: null,
    },
    {
      __typename: "Attribute" as const,
      filterableInDashboard: true,
      filterableInStorefront: false,
      id: "UHJvZHVjdEF0dHJpYnV0ZToxMA==",
      name: "Publisher",
      slug: "publisher",
      type: AttributeTypeEnum.PRODUCT_TYPE,
      inputType: AttributeInputTypeEnum.DROPDOWN,
      visibleInStorefront: true,
      unit: null,
    },
  ],
  taxClass: {
    __typename: "TaxClass",
    name: "Shipping method",
    id: "VGV4Q2xhc3M6MQ==",
  },
  variantAttributes: [
    {
      ...attributes[1],
      filterableInDashboard: true,
      filterableInStorefront: false,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: true,
      unit: null,
    },
    {
      ...attributes[6],
      filterableInDashboard: true,
      filterableInStorefront: false,
      type: AttributeTypeEnum.PRODUCT_TYPE,
      visibleInStorefront: true,
      unit: null,
    },
  ],
  assignedVariantAttributes: [
    {
      __typename: "AssignedVariantAttribute" as const,
      attribute: {
        __typename: "Attribute" as const,
        filterableInDashboard: true,
        filterableInStorefront: false,
        id: "UHJvZHVjdEF0dHJpYnV0ATo5",
        name: "Author",
        slug: "author",
        type: AttributeTypeEnum.PRODUCT_TYPE,
        inputType: AttributeInputTypeEnum.DROPDOWN,
        visibleInStorefront: true,
        unit: null,
      },
      variantSelection: true,
    },
  ],
  weight: {
    __typename: "Weight",
    unit: WeightUnitsEnum.KG,
    value: 7.82,
  },
};
